package com.Redis.Serviceimpl;

import java.sql.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.Redis.Dao.ReportMapper;
import com.Redis.Model.ReportCourse;
import com.Redis.Model.ReportData;
import com.Redis.Service.ReportServiceI;


@Service
public class ReportServiceImpl implements ReportServiceI {
	
	@Autowired
	private ReportMapper reportMapper;

	@Override
	public List<ReportData> getReportDataByCourseId(Date dateTime) {
		// TODO Auto-generated method stub
		
		return reportMapper.getReportDataByCourseId(dateTime);
	}

	@Override
	public List<ReportData> getReportGroupInfo(Date dateTime) {
		// TODO Auto-generated method stub
		return reportMapper.getReportGroupInfo(dateTime);
	}

	@Override
	public List<ReportCourse> getReportCourseInfo(Map<String, Object> hashMap) {
		// TODO Auto-generated method stub
		return reportMapper.getReportCourseInfo(hashMap);
	}

	@Override
	public List<ReportData> getReportDataByGroupId(String  courseIdStr) {
		// TODO Auto-generated method stub
		return reportMapper.getReportDataByGroupId(courseIdStr);
	}



}
